package com.mingqijia.gassafety.db.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.mingqijia.gassafety.db.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 客户留存的联系人表
 * </p>
 *
 * @author wanghai
 * @since 2022-11-18
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_gss_appeal_history")
@ApiModel(value="AppealHistory对象", description="诉求历史")
public class AppealHistory extends BaseEntity {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "id")
      @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "orderNo")
    @TableField("order_no")
    private String orderNo;

    @ApiModelProperty(value = "pkid")
    @TableField("pkid")
    private String pkid;

    @ApiModelProperty(value = "客户id")
    @TableField("consumerId")
    private Integer consumerId;

    @ApiModelProperty(value = "诉求内容")
    @TableField("appeal_content")
    private String appealContent;


    @ApiModelProperty(value = "户号")
    @TableField("subs_code")
    private String subsCode;

    @ApiModelProperty(value = "户名")
    @TableField("cust_name")
    private String custName;

    @ApiModelProperty(value = "户址")
    @TableField("cust_address")
    private String custAddress;

    @ApiModelProperty(value = "诉求状态, 0进行中,1发起成功,2发起失败")
    @TableField("status")
    private Integer status;

    @ApiModelProperty(value = "说明")
    @TableField("remark")
    private String remark;


}
